package xyz.syyrjx.blog.service;

import xyz.syyrjx.blog.entity.Types;

import java.util.List;

public interface TypeService {
    public boolean addType(String name);
    public int countTypes();
    public Types queryTypeById(Long id);
    public List<Types> queryAllTypes();
    public List<Types> queryTypesInPage(Integer page);
    public boolean updateType(Types type);
    public boolean deleteType(Types type);
}
